package com.bailiban.common.entity;

import java.util.List;

/*** @author zhulang *
 *  @Classname PageResult *
 *  @Description PageResult
 *  */
public class PageResult<T> {
    /*** 总条数 */
    private Long total;
    /*** 数据 */
    private List<T> rows;

    public PageResult(Long total, List<T> rows) {
        super();
        this.total = total;
        this.rows = rows;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }
}